package com.cam.framework.aspect;

import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class SysDictAspect {

    @Pointcut("@annotation(com.cam.framework.annotation.SysDictAnno)")
    public void annotationPointCut() {
    }

    @AfterReturning(pointcut = "annotationPointCut()")
    public void afterReturning() {
        System.out.println("SysDictAnnotation AfterReturning");
    }
}
